package Xuanke;

public class Teacher extends People {

    //构造函数
    private Course[] courses;
    //构造函数
    public Teacher() {
        super();
        courses = new Course[1];
    }
    public Teacher(int id,String Name,String sex){
        this.id=id;
        this.Name=Name;
        this.sex=sex;
        courses = new Course[1];
    }
    public String toString(){
        return "学号："+id+"  姓名："+Name+"  性别："+sex;
    }

}
